←Select platform

Run(List<IFeature>,LEADDocument,CancellationToken) Method

Summary

Asynchronous method to run the list of features on a LEADDocument, returning results of processing.

Syntax
C#
VB
C++
public Task<List<ElementSetResult>> Run( 
   List<IFeature> features, 
   LEADDocument document, 
   CancellationToken token 
) 
Public Function Run( 
   ByVal features As List(Of IFeature 
), 
   ByVal document As LEADDocument, 
   ByVal token As CancellationToken) As Task(Of List(Of ElementSetResult)) 
public:  
   Task<List<ElementSetResult^>^>^ Run( 
       List<IFeature^>^ features, 
      LEADDocument^ document, 
      CancellationToken^ token 
   ) 

Parameters

features

List of features to run on the document.

document

Document on which the features are run.

token

A CancellationToken enables cooperative cancellation between threads or Task objects. Create a cancellation token by instantiating a CancellationTokenSource object, which manages cancellation tokens retrieved from its CancellationTokenSource.

Return Value

The results of processing the document.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Unstructured Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.